C program to find out factorial of a number